﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<DIS_WEB_Client.ViewModels.GroupViewModel>" %>

<div id="top_nav_header">
    <div class="container">
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="975" height="132" id="BannerD" align="">
            <param name=movie value="../../../Content/Images/header.swf" />
            <param name=quality value=high />
            <embed src="../../../Content/Images/header.swf" quality=high  width="880" height="132" name="BannerD" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
            </embed>
        </object>
    </div>
</div>
<div id="top_nav_header_menu">
    <div class="container">
        <div class="leftCorner"></div>
        <div class="center">                       
            <ul>
                <% for (int i = 0; i < Model.CategoryModel.GetModel.LstObjModel.Count; i++)
                   {
                       if (i < Model.CategoryModel.GetModel.LstObjModel.Count - 1)
                       {%>
                        <li>
                            <a href="<%= Url.Action("Products", "Home", new { idCate = Model.CategoryModel.GetModel.LstObjModel[i].ID }) %>" id="cat_542"><%= Model.CategoryModel.GetModel.LstObjModel[i].Name %></a>
                        </li>
                        <li style="padding:0px">
                            <img src="../../../Content/Images/nav_sep.png" width="2" height="27" alt="design_image">
                        </li> 
                    <% }
                       else
                       { %>
                        <li>
                            <a href="<%= Url.Action("Products", "Home", new { idCate = Model.CategoryModel.GetModel.LstObjModel[i].ID }) %>" id="A1"><%= Model.CategoryModel.GetModel.LstObjModel[i].Name %></a>
                        </li>
                    <% } %>
                <% } %>
            </ul>
            <!-- End of New Top Navigation with Drop Down menu -->
        </div>
        <div class="rightCorner"></div>
    </div>
</div>